package com.gongfutrip.trans;


import com.gongfutrip.trans.client.ConsumerImpl;
import com.gongfutrip.trans.client.ProducerImpl;
import com.gongfutrip.trans.client.common.ConsumerConfig;
import com.gongfutrip.trans.client.exception.ClientException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.UnsupportedEncodingException;


public class StartConsumer {
  private static final Logger logger = LoggerFactory.getLogger(ProducerImpl.class);


  public static void main(String[] args)
      throws UnsupportedEncodingException, ClientException, InterruptedException {
    new ConsumerImpl(new ConsumerConfig());
  }
}
